package com.zhou.message.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhou.message.dao.Attachment;
import com.zhou.message.dto.AttachmentDto;
import com.zhou.message.dto.AttachmentQueryDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lang.zhou
 * @since 2023-03-01
 */
public interface AttachmentMapper extends BaseMapper<Attachment> {
    int getUserHeaderIdBySeq(Map<String,Object> map);
    List<AttachmentDto> getAttachList(@Param("dto") AttachmentQueryDto dto);
    AttachmentDto getAttachDto(@Param("id") Integer id);
}
